/**
 * 固定值
 * variable | placeholder('type')
 */
export default (value, type) => {
    if (value) return value;
    const img = 'http://newimg88.b0.upaiyun.com/newimg88/2017/12/Learn-Javascript.jpg';

    switch (type) {
        case 'listImg':
            return img;
        case 'bgImg':
            return 'background-image: url(' + img + ')';
    }
    return value;
};
